package com.nana.petadventure.ui.game
{
	import com.nana.framework.ui.PSprite;
	import com.nana.petadventure.app.AppControllerList;
	
	import flash.display.SimpleButton;
	import flash.events.MouseEvent;
	
	public class StartView extends PSprite
	{
//		private var startBtn:SimpleButton;
		private var highScoreBtn:SimpleButton;
		
		public function StartView()
		{
			super();
			this.initView();
		}
		
		public function initView():void {
			startBtn.addEventListener(MouseEvent.CLICK, onStartClickHandler);
		}
		
		private function onStartClickHandler(event:MouseEvent):void {
			AppControllerList.getInstance().gameController.gameStart();
		}
	}
}